package com.iogogogo.supervisord4j.properties;

import com.iogogogo.supervisord.properties.SupervisordProperties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Created by tao.zeng on 2021/7/12.
 */
@Data
@Component
@ConfigurationProperties(prefix = SupervisordProperties.SUPERVISORD_PREFIX)
public class InstanceProperties {

    private Map<String, SupervisordProperties> instance;
}
